<% if @online %>
  <font class="regulartext">
    Inloggad som
    <%=session[:user].firstname%>,
    <% if session[:user].admin_user %>
      <%= content_link "Admin", "/admin", { :use_onclick => false } %> ,
    <% end %>
    <%= content_link "Logga ut", { :controller => :auth, :action => :logout }, { :use_onclick => false } %>
  </font>
<% end %>
